package factory;

import dao.ColumnaDao;
import dao.TablaDao;
import dao.postgresql.ColumnaDaoPostgreSQL;
import dao.postgresql.TablaDaoPostgreSQL;

/**
 *
 * @author joseco
 */
public class FactoryDaoPostgreSQL extends FactoryDao{
    
    private FactoryDaoPostgreSQL(){
        ;
    }

    public static FactoryDao getFactoryInstance(){
        if(instancia==null)
            instancia = new FactoryDaoPostgreSQL();
        return instancia;
    }
    
    @Override
    public TablaDao getNewTablaDao() {
        return new TablaDaoPostgreSQL();
    }

    @Override
    public ColumnaDao getNewColumnaDao() {
        return new ColumnaDaoPostgreSQL();
    }
    
    
    
    
}
